package org.ufinity.hsms.module.login.command;

import java.util.HashMap;

import org.json.JSONObject;
import org.ufinity.hsms.common.command.AbstractCommand;
import org.ufinity.hsms.common.impl.GetDateImpl;

public class LoginCommand extends AbstractCommand<JSONObject> {

	private HashMap<String, String> paramMap;

	public LoginCommand(HashMap<String, String> paramMap) {
		this.paramMap = paramMap;
	}

	@Override
	public JSONObject execute() throws Exception {
		return GetDateImpl.login(paramMap);
	}

}
